include("${CGF_SOURCE_DIR}/cmake/UseCGF.cmake")

QT4_WRAP_CPP(moc_sources
  RemeshWindown.h
)

QT4_WRAP_UI(uic_sources
  remesh.ui
)

###############include
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} 
										${CMAKE_CURRENT_SOURCE_DIR})
										
										
############project file 
SET(core_sources
		${moc_sources}
		${uic_sources}
        main.cpp            
        RemeshWindown.cpp    RemeshWindown.h
)

ADD_EXECUTABLE(Demo_remesh
    ${core_sources}
)
#############Lib
TARGET_LINK_LIBRARIES(Demo_remesh 
						          CGF_TriMesh 
						          CGF_GUI
						          CGF_Utils
								  ${QT_LIBRARIES}  
								  ${OPENGL_LIBRARIES}
)
